package com.zm.campus.dao;

import com.zm.campus.pojo.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zm.campus.vo.BaseUserInfo;
import com.zm.campus.vo.UserInfoVo;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zm
 */
public interface UserMapper extends BaseMapper<User> {

   UserInfoVo queryUserById(String userId);

    //超级管理员授权用户获得管理员身份
    Integer updatePersonSignByUserId(String personSign, String userId);

    BaseUserInfo getUserInfoByUid(String userId);
}
